Event Target
Represents an event target that is able to process events, for example, a DOM node.
Provides methods to manage event listeners and dispatch events.
Inheritors
Functions
Link copied to clipboard
public abstract void addEventListener(EventType eventType, Observer<Event> listener, boolean useCapture)
Adds the given
listener
to the event target.Link copied to clipboard
Returns the immutable list of event listeners that listen events of the given
eventType
in a phase that corresponds the given useCapture
.Link copied to clipboard
public abstract void removeEventListener(EventType eventType, Observer<Event> listener, boolean useCapture)
Removes the given
listener
from the event target.